﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Member_Menu:NFinal.Struct
    {
		public System.Int64? Sn {get;set;}
		public System.String Name {get;set;}
		public System.String Types {get;set;}
		public System.String Info {get;set;}
		public System.Int32? OrderIndex {get;set;}
		public System.Int64? ParentSn {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"Sn\":");
					tw.Write(Sn==null?"null" : Sn.ToString());
					tw.Write(",");
					tw.Write("\"Name\":");
					tw.Write("\"");
					tw.Write(Name==null?"null":Name);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Types\":");
					tw.Write("\"");
					tw.Write(Types==null?"null":Types);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Info\":");
					tw.Write("\"");
					tw.Write(Info==null?"null":Info);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OrderIndex\":");
					tw.Write(OrderIndex==null?"null" : OrderIndex.ToString());
					tw.Write(",");
					tw.Write("\"ParentSn\":");
					tw.Write(ParentSn==null?"null" : ParentSn.ToString());
			tw.Write("}");
		}
		#endregion
    }
}
